package com.ruoyi.web.controller.workflow;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.workflow.domain.CarPackageAudit;
import com.ruoyi.workflow.service.ITaskDoneService;
import com.ruoyi.workflow.service.ITaskToDoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 代办任务Controller
 *
 * @author csj
 * @date 2022-11-18
 */
@RestController
@RequestMapping("/workflow/done")
public class TaskDoneController extends BaseController {
    @Autowired
    private ITaskDoneService taskDoneService;

    /**
     * 查询代办任务列表
     */
    @GetMapping("/list")
    public TableDataInfo list(CarPackageAudit carPackageAudit) {

        return taskDoneService.selectDoneList(carPackageAudit);
    }



}
